#include"MyThread.hpp"

int main()
{
    ThreadModule::Thread t(
        []()
        {
            while(true)
            {
                std::cout<<"hello world"<<std::endl;
                sleep(1);
            }
        }
    );
    t.Start();
    std::cout<<t.Name()<<" is running "<<std::endl;
    t.Join();
    return 0;
}